<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>品牌列表</title>
    <style type="text/css">
        .plus_minus{
            width: 20px;
        }
    </style>
    <script src="http://127.0.0.1/my/wasai/Static/Js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="http://127.0.0.1/my/wasai/Static/hdjs/hdjs.css"/>
    <script src="http://127.0.0.1/my/wasai/Static/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="http://127.0.0.1/my/wasai/Static/bootstrap/css/bootstrap.min.css"/>
    
   
</head>
<body>
<div class="wrap">
    <table class="hd-table hd-table-form hd-form">
        <thead>
	        <tr>
	            <td width="30"></td>
	            <td>品牌ID</td>
	            <td>品牌名称</td>
	            <td>Logo</td>
	            <td>排序</td>
	            <td width="200">操作</td>
	        </tr>
        </thead>
        <tbody>
        	<?php foreach ($brandData as $k=>$v){?>
	        	<tr>
		            <td width="30"></td>
		            <td><?php echo $v['bid'];?></td>
		            <td><?php echo $v['bname'];?></td>
		            <td>
		            	<img src="http://127.0.0.1/my/wasai/<?php echo $v['logo'];?>" alt="" style="width: 80px;height:34px ;"/>
		            </td>
		            <td><?php echo $v['sort'];?></td>
		            <td width="200">
		            	<a href="<?php echo U('Admin/Brand/edit',array('bid'=>$v['bid']));?>" class="hd-btn hd-btn-primary hd-btn-xm">编辑</a>
						<a href="<?php echo U('Admin/Brand/del',array('bid'=>$v['bid']));?>" class="hd-btn hd-btn-danger hd-btn-xm">删除</a>
		            </td>
		        </tr>
	        <?php }?>
        </tbody>
    </table>
   
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>


